﻿<link href="/SiteUI/Trade/OrderDetail_payProcess.css" rel="stylesheet" />
<div id="pay-process-container">
    <!--支付信息-->
    <div class="InfoSection row expand">
        <div class="InfoSectionTitle">
            支付信息
            <i class="soicon "></i>
        </div>
        <div class="InfoSectionBody col-lg-12">
            <div class="row ti-body" id="payInfoTable"></div>
        </div>
    </div>
    <!--发票登记-->
    <!--
    <div class="InfoSection row expand">
        <div class="InfoSectionTitle">
            发票登记
            <i class="soicon "></i>
        </div>
        <div class="InfoSectionBody col-lg-12">
            <p class="append-invoice">
                <a id="append-invoice" href="javascript:;">+登记发票</a>
            </p>
            <div class="row ti-body" id="invoiceEntryTable"></div>
            <div class="money-counter">
                <p>累计价税合计：<span>273847194.00</span></p>
                <p>累计票面额：<span>273847194.00</span></p>
            </div>
        </div>
    </div>-->
</div>
<script>
    $(function () {
        var container = $('#pay-process-container');//当前操作域
        var payInfoTable = new LiberUI.Table()
           , invoiceEntryTable = new LiberUI.Table();
        
        container.find("#payInfoTable").append(payInfoTable.Dom);
        container.find("#invoiceEntryTable").append(invoiceEntryTable.Dom);
        payInfoTable.Col("应付金额", "33.332%", false, null, "brand", null)
              .Col("开票金额", "33.332%", false, null, "product")
              .Col("实付金额", "33.332%", false, null, "model", null);
        payInfoTable.vl([
            { brand: '￥203,292.00', product: '￥203,292.00', model: '￥102,292.00' }
        ]).update();


        invoiceEntryTable.Col("序号", "3.65%", false, null, "id", null)
              .Col("发票编号", "10.6%", false, null, "invoiceNo")
              .Col("票面价税合计", "11.82%", false, null, "taxCount", null)
              .Col("票面税率", "11.95%", false, null, "taxRate", null)
              .Col("票面税额", "10.12%", false, null, "tax", null)
              .Col("票面金额", "11.34%", false, null, "money", null)
              .Col("开票日期", "10.73%", false, null, "date", null)
              .Col("登记人", "10%", false, null, "register", null)
              .Col("登记时间", "10%", false, null, "registerDate", null)
              .Col("附件", "9.26%", false, null, "annex", null);
        /*invoiceEntryTable.vl([
            { id: '1', invoiceNo: '28831', taxCount: '293819.00', taxRate: '17%', tax: '23819.00', money: '3413.00', date: '2016-01-01', register: '张三', registerDate: '2016-01-01', annex: '0101.png' }
           ]).update();*/
    });
</script>